package com.cykj.service.serviceImpl;

import com.cykj.Mapper.UserSimplyPayMapper;
import com.cykj.service.UserSimplyPayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class UserSimplyPayServiceimpl implements UserSimplyPayService {
    @Autowired
    private UserSimplyPayMapper userSimplyPayMapper;
    @Override
    public int batchInsert(String orderNumber, int userId, List<Integer> projectIds) {
        int i = userSimplyPayMapper.batchInsert(orderNumber, userId, projectIds);
        return i;
    }

    @Override
    public int OrderInsert(String orderNumber, int userId, double allMoney) {
        int i = userSimplyPayMapper.OrderInsert(orderNumber, userId, allMoney);
        return i;
    }
}
